<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>邮箱注册</title>
    <base href="<?php echo base_url();?>"/>
    <link href="style/base.css" rel="stylesheet" type="text/css" />
    <link href="style/common.css" rel="stylesheet" type="text/css" />
    <link href="style/zhuce.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.enplaceholder.js"></script>
    <script src="js/organictabs.jquery.js"></script>
    <script type="text/javascript" src="js/Common.js"></script>
    <script type="text/javascript" src="js/Validation.js"></script>
    <script type="text/javascript">
        $(function(){
            $("#hrefReSend").bind("click",reSendMail);
        });

        function reSendMail(){
            var email = $("#hdemail").val();
            var checkcode = $("#hdcheckcode").val();
            var params = {
                email:email,
                checkcode:checkcode
            };

            $.ajax({
                type:"post",
                url:"index.php/login/reSendMail",
                dataType:"html",
                data:params,
                success:function(data){
                    alert("邮件已发送");
                }
            });
        }
    </script>
</head>

<body>
<!-- head S-->
<?php include 'login_header.php';?>
<!-- head E-->

<!-- 验证邮箱 开始 -->
<div class=" yanzheng">
    <div class="yanzheng_cg1">还差一步，请验证邮箱</div>
    <div class="yanzheng_cg2"> 验证邮件已发送至<?php echo $_GET['email'];?> 请登录邮箱完成认证</div>
    <div class="yanzheng_cg2"><a style="background:url('images/dlyxyz.jpg') no-repeat;display:block;height: 50px;" href="<?php echo $_GET['url'];?>" target="_blank" id="logingEmail">登录邮箱</a></div>
    <div class="yanzheng_cg3">没有收到邮件？</div>
    <div class="yanzheng_cg2">查看邮箱回收站、垃圾邮件；</div>
    <input type="hidden" id="hdemail" value="<?php echo $_GET['email']; ?>">
    <input type="hidden" id="hdcheckcode" value="<?php print $_GET['checkcode']; ?>">
    <div class="yanzheng_cg2"><a href="javascript:void(0)" id="hrefReSend">重新发送邮件</a></div>
    <div class="yanzheng_cg2"><!--用xxxxxxxxxxxxx向 xxxxxxxxxx发送任意邮件完成认证，--><a href="<?php echo $_GET['url'];?>" target="_blank" id="logingEmail">登录邮箱</a></div>
</div>
<!-- 验证邮箱 结束 -->


<!-- 底部 开始 -->
<?php include 'footer.php';?>
<!-- 底部 结束 -->
</body>
</html>
